package ooday03.Exercise;

public abstract class Person {
    String name;
    int age;
    double salary;

    Person(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    void clockIn(){
        System.out.println(name+"上班打卡");
    }
    void clockOut(){
        System.out.println(name+"下班打卡");
    }
    abstract void finishWork();
}
